a_list = [21,25,21,23,22,20]
a_list.append (31)
a_list.extend ([29,33,30])
print (a_list [0])
print (a_list [-1])
print (a_list)